<?php
/**
 * @email wei@alipay168.cn
 * @author 小韦
 * @link http://blog.alipay168.cn
 * @Date: 2020/10/2 9:50
 */
namespace app\api\controller;


use app\server\LiveServer;

class Live extends Controller
{
    //直播间列表
    public function get_rooms()
    {
        $app_id = $this->app_id;
        $data = LiveServer::get_room_list(['app_id'=>$app_id]);


        return $this->renderSuccess($data,'ok');
    }
}